home *** CD-ROM | disk | FTP | other *** search
/ MacAddict 114 / macaddict114.cdr / Software / Utilities / macam.0.8.4.dmg / macam sources / app_specific / MyQX3CameraInspector.h < prev    next >
Encoding:
Text File  |  2002-05-22  |  1.6 KB  |  51 lines

  1. /*
  2.  MyQX3CameraInspector.h
  3.  
  4.  Copyright (C) 2002 Dirk-Willem van Gulik (dirkx@webweaving.org)
  5.  
  6.  This program is free software; you can redistribute it and/or modify
  7.  it under the terms of the GNU General Public License as published by
  8.  the Free Software Foundation; either version 2 of the License, or
  9.  (at your option) any later version.
  10.  
  11.  This program is distributed in the hope that it will be useful,
  12.  but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  GNU General Public License for more details.
  15.  
  16.  You should have received a copy of the GNU General Public License
  17.  along with this program; if not, write to the Free Software
  18.  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  19.  $Id: MyQX3CameraInspector.h,v 1.1.1.1 2002/05/22 04:56:42 dirkx Exp $
  20. */
  21.  
  22. #import <Cocoa/Cocoa.h>
  23. #import "MyCameraInspector.h"
  24. #import "MyQX3Driver.h"
  25.  
  26. @class MyQX3Driver;
  27.  
  28. @interface MyQX3CameraInspector : MyCameraInspector
  29. {
  30.     // QX3 specific
  31.     //   image with state of the microscope.
  32.     //
  33.     IBOutlet id QX3state;
  34.     IBOutlet id lightState;
  35. }
  36.  
  37. // 3 radio button list; 0:top, 1:off and 2:bottom
  38. //
  39. - (IBAction)lightAction:(id)sender;
  40.  
  41. #define    I_OFF        (@"QX3-0")    // greyed out
  42.  
  43. #define    I_CRADLE    (@"QX3-1")    // visble - cradled
  44. #define    I_NO_CRADLE    (@"QX3-2")    // visble - no cradle
  45.  
  46. #define    I_CRADLE_BOTTOM    (@"QX3-4")    // visible - cradled - bottom light on
  47. #define    I_CRADLE_TOP    (@"QX3-5")    // visible - cradled - top light on
  48. #define    I_NO_CRADLE_TOP    (@"QX3-3")    // visible - no cradle - top light on
  49.  
  50. @end
  51.